(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.BooksRoutes = (function(_super) {

    __extends(BooksRoutes, _super);

    function BooksRoutes() {
      return BooksRoutes.__super__.constructor.apply(this, arguments);
    }

    BooksRoutes.prototype.routes = {
      "Books/:bookId": "Index"
    };

    BooksRoutes.prototype.Index = function(bookId) {
      var layout, model, view;
      layout = new LibraryLayoutView();
      model = new BooksModel();
      model.set("BookId", bookId);
      return view = new BooksView({
        model: model
      });
    };

    return BooksRoutes;

  })(Backbone.Router);

}).call(this);
